
package com.laoli.myspringboottest.model.xml;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * <p>anonymous complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>{@code
 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://www.iredes.org/xml/DrillRig}NumberOfHoles"/>
 *         <element ref="{http://www.iredes.org/xml/DrillRig}Hole" maxOccurs="unbounded"/>
 *         <element ref="{http://www.iredes.org/xml/DrillRig}EquipmentData"/>
 *         <element ref="{http://www.iredes.org/xml/DrillRig}LineTable"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * }</pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "numberOfHoles",
    "hole",
    "equipmentData",
    "lineTable"
})
@XmlRootElement(name = "DrillPlan", namespace = "http://www.iredes.org/xml/DrillRig")
public class DrillPlan {

    @XmlElement(name = "NumberOfHoles", namespace = "http://www.iredes.org/xml/DrillRig", required = true)
    protected BigInteger numberOfHoles;
    @XmlElement(name = "Hole", namespace = "http://www.iredes.org/xml/DrillRig", required = true)
    protected List<Hole> hole;
    @XmlElement(name = "EquipmentData", namespace = "http://www.iredes.org/xml/DrillRig", required = true)
    protected EquipmentData equipmentData;
    @XmlElement(name = "LineTable", namespace = "http://www.iredes.org/xml/DrillRig", required = true)
    protected LineTable lineTable;

    /**
     * 获取numberOfHoles属性的值。
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getNumberOfHoles() {
        return numberOfHoles;
    }

    /**
     * 设置numberOfHoles属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setNumberOfHoles(BigInteger value) {
        this.numberOfHoles = value;
    }

    /**
     * Gets the value of the hole property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the Jakarta XML Binding object.
     * This is why there is not a {@code set} method for the hole property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getHole().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Hole }
     * 
     * 
     * @return
     *     The value of the hole property.
     */
    public List<Hole> getHole() {
        if (hole == null) {
            hole = new ArrayList<>();
        }
        return this.hole;
    }

    /**
     * 获取equipmentData属性的值。
     * 
     * @return
     *     possible object is
     *     {@link EquipmentData }
     *     
     */
    public EquipmentData getEquipmentData() {
        return equipmentData;
    }

    /**
     * 设置equipmentData属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link EquipmentData }
     *     
     */
    public void setEquipmentData(EquipmentData value) {
        this.equipmentData = value;
    }

    /**
     * 获取lineTable属性的值。
     * 
     * @return
     *     possible object is
     *     {@link LineTable }
     *     
     */
    public LineTable getLineTable() {
        return lineTable;
    }

    /**
     * 设置lineTable属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link LineTable }
     *     
     */
    public void setLineTable(LineTable value) {
        this.lineTable = value;
    }

}
